feat: add doctor command#883
Conversation
Size Report
Startup median (7 runs, lower is better):
Top changed chunks:
|
|
I do not see a routing blocker in the doctor command path: the command facet projects through the daemon registry, and the Android probes still run under the request-scoped provider path via the adb executor scope. One thing I would address before merge: |
729bdfb to
484bad5
Compare
|
Re-check after the latest push: this still needs the split before I would call it merge-ready. |
|
GitHub now reports this branch as conflicted against |
80975b4 to
51fb503
Compare
|
Current head 51fb503 has failed required checks:
Smoke checks are still settling, but these CI failures need attention before review/readiness. Please address or rerun if the failures are known infra flakes, then reply with what changed and what was validated. |
Summary
Add a read-only doctor command for RN/Expo/Metro preflight checks, with progressive human output and JSON evidence.
Local doctor now reports available/booted device inventory instead of resolving a default device; stopped simulators/emulators count as available. Adds
doctor --remotefor remote connection setup checks that skip local device probing.Closes #874
Validation
Passed focused CLI/parser/provider doctor coverage, typecheck, oxlint, fallow, build, and live CLI smoke for
doctor,doctor --platform android, anddoctor --remote.pnpm check:unitstill fails in unrelated host/platform tests: Android mocked ADB timeout, iOS status-bar/screenshot timeouts, and an Xcode metadata expectation mismatch.